package com.me.utils;

import com.badlogic.gdx.Application.ApplicationType;
import com.badlogic.gdx.Gdx;

public class PackerUtils {
	public static String PATH_TEXTUREPACKER;
	public static String PATH_SKINPACKER;
	private static final String PATH_TEXTUREPACKER_DESKTOP = "../happyBugs-android/assets/dataPacker/resourceTexture.txt";
	private static final String PATH_TEXTUREPACKER_ANDROID = "dataPacker/resourceTexture.txt";
	private static final String PATH_SKINPACKER_DESKTOP = "../happyBugs-android/assets/SkinResourcePacker/skin.json";
	private static final String PATH_SKINPACKER_ANDROID = "SkinResourcePacker/skin.json";
	
	public static void initPath() {
		if (Gdx.app.getType() == ApplicationType.Desktop) {
			PATH_TEXTUREPACKER = PATH_TEXTUREPACKER_DESKTOP;
			PATH_SKINPACKER = PATH_SKINPACKER_DESKTOP;
		} 	
		else{
			PATH_TEXTUREPACKER = PATH_TEXTUREPACKER_ANDROID;
			PATH_SKINPACKER = PATH_SKINPACKER_ANDROID;
		}
	}
}
